package com.sfl.api_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author szc
 * @since 2023-01-27
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户邮箱
     */
    private String email;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 1->正常 0->关闭
     */
    private Integer status;

    /**
     * 0->管理员 1->普通用户
     */
    private Integer userType;

    /**
     * 0->正常 1->注销
     */
    private Integer delFlag;
}
